<template>
  <div id="app">
    <router-link to="/">home</router-link>
    <router-link to="/about/12121" style="margin-left: 10px">about</router-link>
    <router-view></router-view>
    <!--    <p>{{ title }}</p>-->
    <!--    <button @click="setTitle">click</button>-->
  </div>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";

import { store } from "@/store/store";
import { router } from "@/route";

export default {
  // components: {
  //   HelloWorld
  // },
  store,
  router,
  data() {
    return {
      title: "init"
    };
  },
  methods: {
    setTitle() {
      this.title = "updated";
    }
  }

};


</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}


</style>
